package com.ctshk.rpc.custom.req.inquiry;

import com.alibaba.fastjson.JSONArray;
import com.ctshk.common.model.PageReq;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * <p>
 * 询价单列表req
 * </p>
 *
 * @author 叶冠峰
 * @since 2021-01-15
 */
@Data
@ApiModel(value="CustomizedInquiryListReq对象", description="询价单列表req")
public class InquiryListReq extends PageReq implements Serializable {

    @ApiModelProperty(value = "询价单号")
    private String inquiryNumber;
    @ApiModelProperty(value = "询价单标题")
    private String inquiryTitle;
    @NotNull(message = "请选择询价单状态")
    @ApiModelProperty(value = "询价单状态(0 全部,1 未询价,2 未处理,3 已超时,4 已同意,5 已拒绝,6 继续询价,7 已报价,8 待开团,9 已开团)",required = true)
    private Integer inquiryStatus;
    @ApiModelProperty(value = "销售id")
    private Long salespersonId;
    @ApiModelProperty(value = "OPid")
    private Long opId;
    @ApiModelProperty(value = "大客户id")
    private Long bigClientId;
    @ApiModelProperty(value = "出发日期")
    private String beginDate;
    @ApiModelProperty(value = "结束日期")
    private String endDate;
    @ApiModelProperty(value = "出发地")
    private String departurePlace;
    @ApiModelProperty(value = "目的地")
    private String destination;
    @ApiModelProperty(value = "出行天数")
    private JSONArray travelDays;
    @NotNull(message = "请选择查询类型")
    @ApiModelProperty(value = "查询类型(1 产品中心，2 定制中心)",required = true)
    private Integer queryType;

    @ApiModelProperty(value = "出境类型(3出境定制 4入境定制 5會議會獎)")
    private Integer departType;
}
